﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Vici.CoolStorage;
using Vici.Mvc;
using Ss.Model;
namespace web
{
    public class Admin_Message:AdminController
    {
        [View("Admin/System/Message")]
        [Url("Admin/System/Message")]
        public void Run()
        {
            ViewData["PageTitle"] = "查看留言";
            ViewData["MsgList"] = Message.All();
        }



        [Url("Admin/System/GetMessageList")]
        public void GetMessageList()
        {
            Response.Write(Message.EasyPage("ID",false,false,"ID","Title","Content","Editer","Contact","CreateDate"));
            Response.End();


        }
    }
}